<template>
  <div class="aside-item">
    <div class="title">
      <div class="title-text">
        <slot name="title"></slot>
      </div>
      <div class="more">
        <span>全部</span>
        <span>&gt;</span>
      </div>
    </div>
    <div class="content">
      <slot name="text"></slot>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.aside-item {
  margin-bottom: 20px;
  color: #565454;
  .title {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .more {
    span:last-child {
      font-size: 20px;
      margin-left: 5px;
    }
  }
}
</style>
